﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 设备类型
    /// </summary>
    [Serializable]
    [EntityMapping(TableName = "EquipmentType")]
    public class EquipmentType
    {
        [EntityMapping(IsKey = true, ColumnName = "EquipmentTypeID")]
        public string EquipmentTypeID { get; set; }

        /// <summary>
        /// 设备类型名称
        /// </summary>
        [EntityMapping(ColumnName = "FTYPENAME")]
        public string FTYPENAME { get; set; }

        /// <summary>
        /// 关联表名
        /// </summary>
        [EntityMapping(ColumnName = "FRELTABLE")]
        public string FRELTABLE { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        [EntityMapping(ColumnName = "FCATEGORY")]
        public string FCATEGORY { get; set; }

        /// <summary>
        /// 是否附属
        /// </summary>
        [EntityMapping(ColumnName = "FISAFFILIATE")]
        public string FISAFFILIATE { get; set; }

        /// <summary>
        /// 父设备id
        /// </summary>
        [EntityMapping(ColumnName = "PARENTTYPEID")]
        public string PARENTTYPEID { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [EntityMapping(ColumnName = "FORDER")]
        public string FORDER { get; set; }

        /// <summary>
        /// 是否关联摄像头。1：关联；0、null：不关联
        /// </summary>
        [EntityMapping(ColumnName = "RELCAMERAS")]
        public string RELCAMERAS { get; set; }

        /// <summary>
        /// 设备在地上还是地下：GPS、WIFI
        /// </summary>
        [EntityMapping(ColumnName = "COORD")]
        public string COORD { get; set; }
    }
}
